package com.homedo.odin.solution.dao;

import com.homedo.core.common.base.dao.BaseDao;
import com.homedo.odin.solution.model.entity.UserColumn;
import com.homedo.odin.solution.model.response.pc.collect.MyColumnCollectResponseBean;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * <p> 用户与栏收藏关系表 Mapper 接口 </p>
 *
 * @author HarveyDing
 * @since 2018-03-08
 */
public interface UserColumnMapper extends BaseDao<UserColumn> {

    UserColumn getUserSpecialColumn(@Param("userId") Integer userId, @Param("columnId") Long columnId,
            @Param("actionType") Integer actionType);

    List<MyColumnCollectResponseBean> getByUidLeftJionColution(@Param("userId") Integer userId,
            @Param("startDate") Date startDate, @Param("endDate") Date endDate);

}